Implementation of a multigrid solver on GPU for Stokes equations with strongly variable viscosity based on Matlab and CUDA
نویسندگان
چکیده
Stokes equations have been used in numerical simulations of geodynamic processes such as mantle convection , lithospheric deformation and lava flow, etc. In order to implement a solver for these equations, multigrid method is introduced to our solve. Multigrid method is commonly used in reducing the iteration steps for solving the elliptic partial differential equation with the ill-conditioned matrix due to the saddle points in the matrix system coupling mass and momentum equations and strongly variable viscosity due to rheology. Taking the advantages of the current Graphic Processing Units’ (GPU) computing ability and the new Matlab 2010b we utilize the massive programming method to speed up the original Matlab codes with Compute Unified Device Architecture (CUDA). In this paper we will introduce the implementation of a Matlab based multigrid solver for three dimensional Stokes equations with strongly variable viscosity using Red-Black Gauss-Seidel method on GPU.
منابع مشابه
Implementation of a multigrid solver on a GPU for Stokes equations with strongly variable viscosity based on Matlab and CUDA
The Stokes equations are frequently used to simulate geodynamic processes, including mantle convection, lithospheric dynamics, lava flow, and among others. In this study, the multigrid (MG) method is adopted to solve Stokes and continuity equations with strongly temperature-dependent viscosity. By taking advantage of the enhanced computing power of graphics processing units (GPUs) and the new v...
متن کاملAn Incompressible Navier-Stokes Equations Solver on the GPU Using CUDA Master of Science Thesis in Complex Adaptive Systems
Graphics Processing Units (GPUs) have emerged as highly capable computational accelerators for scientific and engineering applications. Many reports claim orders of magnitude of speedup compared to traditional Central Processing Units (CPUs), and the interest for GPU computation is high in the computational world. In this thesis, the capability of using GPUs to accelerate the full computational...
متن کاملNumerical Simulation of a Lead-Acid Battery Discharge Process using a Developed Framework on Graphic Processing Units
In the present work, a framework is developed for implementation of finite difference schemes on Graphic Processing Units (GPU). The framework is developed using the CUDA language and C++ template meta-programming techniques. The framework is also applicable for other numerical methods which can be represented similar to finite difference schemes such as finite volume methods on structured grid...
متن کاملSmoke Simulation for Fire Engineering using CUDA
Computational solutions to the Navier-Stokes equations for fluid dynamics has become an increasingly useful tool for engineering purposes. However, solving fluid dynamics accurately requires a considerable amount of time and computer resources. In this thesis we investigate the possibilities of interactive smoke simulation for engineering purposes, using the recently released programming model ...
متن کاملCUDA Implementation of a Navier-Stokes Solver on Multi-GPU Desktop Platforms for Incompressible Flows
Graphics processor units (GPU) that are traditionally designed for graphics rendering have emerged as massively-parallel "co-processors" to the central processing unit (CPU). Small-footprint desktop supercomputers with hundreds of cores that can deliver teraflops peak performance at the price of conventional workstations have been realized. A computational fluid dynamics (CFD) simulation capabi...
متن کامل